package com.xquant.common.engine.xPP.response;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class LegContract {
    @JSONField(ordinal = 1)
    private String legID;
    @JSONField(ordinal = 2)
    private String npv;
    @JSONField(ordinal = 3)
    private String rho;
    @JSONField(ordinal = 4)
    private String theta;
    @JSONField(ordinal = 5)
    private String delta;
    @JSONField(ordinal = 6)
    private String vega;
    @JSONField(ordinal = 7)
    private String gamma;
    @JSONField(ordinal = 8)
    private String vanna;
    @JSONField(ordinal = 9)
    private String volga;
    @JSONField(ordinal = 10)
    private List<UnderlyerValue> deltas;
    @JSONField(ordinal = 11)
    private List<UnderlyerValue> vegas;
    @JSONField(ordinal = 12)
    private RectangularCoordinates gammas;
    @JSONField(ordinal = 13)
    private RectangularCoordinates vannas;
    @JSONField(ordinal = 14)
    private RectangularCoordinates volgas;
    @JSONField(ordinal = 15)
    private String premiumNpv;
    @JSONField(ordinal = 16)
    private String deltaForward;
    @JSONField(ordinal = 17)
    private String gammaForward;
    @JSONField(ordinal = 18)
    private String spotPrice;
    @JSONField(ordinal = 19)
    private String dscRate;
    @JSONField(ordinal = 20)
    private String fundRate;
    @JSONField(ordinal = 21)
    private String divRate;
    @JSONField(ordinal = 22)
    private String volRate;
    @JSONField(ordinal = 23)
    private String fxVolRate;
    @JSONField(ordinal = 24)
    private String corr;
    @JSONField(ordinal = 25)
    private String fxRate;
    @JSONField(ordinal = 26)
    private String numberOfOptions;
    @JSONField(ordinal = 27)
    private String optionEntitlement;
    @JSONField(ordinal = 28)
    private String cashdelta;
    @JSONField(ordinal = 29)
    private String cashdelta1percent;
    @JSONField(ordinal = 30)
    private String cashgamma;
    @JSONField(ordinal = 31)
    private String cashgamma1percent;
    @JSONField(ordinal = 32)
    private String strikePrice;
    @JSONField(ordinal = 33)
    private String strikeYield;
    @JSONField(ordinal = 34)
    private String strikeDuration;
    @JSONField(ordinal = 35)
    private String productType;
    @JSONField(ordinal = 36)
    private String accrual0;
    @JSONField(ordinal = 37)
    private String accrual1;
    @JSONField(ordinal = 38)
    private String fairRate;
    @JSONField(ordinal = 39)
    private String actualRate;
    @JSONField(ordinal = 40)
    private String dvbps;
    @JSONField(ordinal = 41)
    private String dvbp;
    @JSONField(ordinal = 42)
    private String ad;
    @JSONField(ordinal = 43)
    private List<String> kd;
    @JSONField(ordinal = 44)
    private List<String> krDvbps;



    //商品掉期
    private String domesticDvbp; // 贴现融资曲线变动
    private String foreignDvbp; // 红利曲线变动
    private String dscDvbp;// 贴现曲线变动

    //国债期货
    private String basis;
    private String bnoc;
    private String cf;
    private String cfSource;
    private String cmarketNPV;
    private String convexityBench;
    private String convexitySpread;
    private String cv;
    private String durationBench;
    private String durationSpread;
    private String instrumentId;
    private String irr;
    private String marketNPV;
    private String md;
    private String remainTerm;
    private String shortDuration;
    private String shortRemainTerm;
    private String ytm;

    private String errorCode;
    private String errorMsg;

    public String getLegID() {
        return legID;
    }

    public void setLegID(String legID) {
        this.legID = legID;
    }

    public String getNpv() {
        return npv;
    }

    public void setNpv(String npv) {
        this.npv = npv;
    }

    public String getRho() {
        return rho;
    }

    public void setRho(String rho) {
        this.rho = rho;
    }

    public String getTheta() {
        return theta;
    }

    public void setTheta(String theta) {
        this.theta = theta;
    }

    public String getDelta() {
        return delta;
    }

    public void setDelta(String delta) {
        this.delta = delta;
    }

    public List<UnderlyerValue> getDeltas() {
        return deltas;
    }

    public void setDeltas(List<UnderlyerValue> deltas) {
        this.deltas = deltas;
    }

    public List<UnderlyerValue> getVegas() {
        return vegas;
    }

    public void setVegas(List<UnderlyerValue> vegas) {
        this.vegas = vegas;
    }

    public String getVega() {
        return vega;
    }

    public void setVega(String vega) {
        this.vega = vega;
    }


    public String getGamma() {
        return gamma;
    }

    public void setGamma(String gamma) {
        this.gamma = gamma;
    }

    public RectangularCoordinates getGammas() {
        return gammas;
    }

    public void setGammas(RectangularCoordinates gammas) {
        this.gammas = gammas;
    }

    public String getVanna() {
        return vanna;
    }

    public void setVanna(String vanna) {
        this.vanna = vanna;
    }

    public RectangularCoordinates getVannas() {
        return vannas;
    }

    public void setVannas(RectangularCoordinates vannas) {
        this.vannas = vannas;
    }

    public String getVolga() {
        return volga;
    }

    public void setVolga(String volga) {
        this.volga = volga;
    }

    public RectangularCoordinates getVolgas() {
        return volgas;
    }

    public void setVolgas(RectangularCoordinates volgas) {
        this.volgas = volgas;
    }

    public String getPremiumNpv() {
        return premiumNpv;
    }

    public void setPremiumNpv(String premiumNpv) {
        this.premiumNpv = premiumNpv;
    }

    public String getDeltaForward() {
        return deltaForward;
    }

    public void setDeltaForward(String deltaForward) {
        this.deltaForward = deltaForward;
    }

    public String getGammaForward() {
        return gammaForward;
    }

    public void setGammaForward(String gammaForward) {
        this.gammaForward = gammaForward;
    }

    public String getSpotPrice() {
        return spotPrice;
    }

    public void setSpotPrice(String spotPrice) {
        this.spotPrice = spotPrice;
    }

    public String getDscRate() {
        return dscRate;
    }

    public void setDscRate(String dscRate) {
        this.dscRate = dscRate;
    }

    public String getFundRate() {
        return fundRate;
    }

    public void setFundRate(String fundRate) {
        this.fundRate = fundRate;
    }

    public String getDivRate() {
        return divRate;
    }

    public void setDivRate(String divRate) {
        this.divRate = divRate;
    }

    public String getVolRate() {
        return volRate;
    }

    public void setVolRate(String volRate) {
        this.volRate = volRate;
    }

    public String getFxVolRate() {
        return fxVolRate;
    }

    public void setFxVolRate(String fxVolRate) {
        this.fxVolRate = fxVolRate;
    }

    public String getCorr() {
        return corr;
    }

    public void setCorr(String corr) {
        this.corr = corr;
    }

    public String getFxRate() {
        return fxRate;
    }

    public void setFxRate(String fxRate) {
        this.fxRate = fxRate;
    }

    public String getNumberOfOptions() {
        return numberOfOptions;
    }

    public void setNumberOfOptions(String numberOfOptions) {
        this.numberOfOptions = numberOfOptions;
    }

    public String getOptionEntitlement() {
        return optionEntitlement;
    }

    public void setOptionEntitlement(String optionEntitlement) {
        this.optionEntitlement = optionEntitlement;
    }

    public String getCashdelta() {
        return cashdelta;
    }

    public void setCashdelta(String cashdelta) {
        this.cashdelta = cashdelta;
    }

    public String getCashdelta1percent() {
        return cashdelta1percent;
    }

    public void setCashdelta1percent(String cashdelta1percent) {
        this.cashdelta1percent = cashdelta1percent;
    }

    public String getCashgamma() {
        return cashgamma;
    }

    public void setCashgamma(String cashgamma) {
        this.cashgamma = cashgamma;
    }

    public String getCashgamma1percent() {
        return cashgamma1percent;
    }

    public void setCashgamma1percent(String cashgamma1percent) {
        this.cashgamma1percent = cashgamma1percent;
    }

    public String getStrikePrice() {
        return strikePrice;
    }

    public void setStrikePrice(String strikePrice) {
        this.strikePrice = strikePrice;
    }

    public String getStrikeYield() {
        return strikeYield;
    }

    public void setStrikeYield(String strikeYield) {
        this.strikeYield = strikeYield;
    }

    public String getStrikeDuration() {
        return strikeDuration;
    }

    public void setStrikeDuration(String strikeDuration) {
        this.strikeDuration = strikeDuration;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getAccrual0() {
        return accrual0;
    }

    public void setAccrual0(String accrual0) {
        this.accrual0 = accrual0;
    }

    public String getAccrual1() {
        return accrual1;
    }

    public void setAccrual1(String accrual1) {
        this.accrual1 = accrual1;
    }

    public String getFairRate() {
        return fairRate;
    }

    public void setFairRate(String fairRate) {
        this.fairRate = fairRate;
    }

    public String getActualRate() {
        return actualRate;
    }

    public void setActualRate(String actualRate) {
        this.actualRate = actualRate;
    }

    public String getDvbps() {
        return dvbps;
    }

    public void setDvbps(String dvbps) {
        this.dvbps = dvbps;
    }

    public String getDvbp() {
        return dvbp;
    }

    public void setDvbp(String dvbp) {
        this.dvbp = dvbp;
    }

    public String getAd() {
        return ad;
    }

    public void setAd(String ad) {
        this.ad = ad;
    }

    public List<String> getKd() {
        return kd;
    }

    public void setKd(List<String> kd) {
        this.kd = kd;
    }

    public List<String> getKrDvbps() {
        return krDvbps;
    }

    public void setKrDvbps(List<String> krDvbps) {
        this.krDvbps = krDvbps;
    }

    public String getDomesticDvbp() {
        return domesticDvbp;
    }

    public void setDomesticDvbp(String domesticDvbp) {
        this.domesticDvbp = domesticDvbp;
    }

    public String getForeignDvbp() {
        return foreignDvbp;
    }

    public void setForeignDvbp(String foreignDvbp) {
        this.foreignDvbp = foreignDvbp;
    }

    public String getDscDvbp() {
        return dscDvbp;
    }

    public void setDscDvbp(String dscDvbp) {
        this.dscDvbp = dscDvbp;
    }

    public String getBasis() {
        return basis;
    }

    public void setBasis(String basis) {
        this.basis = basis;
    }

    public String getBnoc() {
        return bnoc;
    }

    public void setBnoc(String bnoc) {
        this.bnoc = bnoc;
    }

    public String getCf() {
        return cf;
    }

    public void setCf(String cf) {
        this.cf = cf;
    }

    public String getCfSource() {
        return cfSource;
    }

    public void setCfSource(String cfSource) {
        this.cfSource = cfSource;
    }

    public String getCmarketNPV() {
        return cmarketNPV;
    }

    public void setCmarketNPV(String cmarketNPV) {
        this.cmarketNPV = cmarketNPV;
    }

    public String getConvexityBench() {
        return convexityBench;
    }

    public void setConvexityBench(String convexityBench) {
        this.convexityBench = convexityBench;
    }

    public String getConvexitySpread() {
        return convexitySpread;
    }

    public void setConvexitySpread(String convexitySpread) {
        this.convexitySpread = convexitySpread;
    }

    public String getCv() {
        return cv;
    }

    public void setCv(String cv) {
        this.cv = cv;
    }

    public String getDurationBench() {
        return durationBench;
    }

    public void setDurationBench(String durationBench) {
        this.durationBench = durationBench;
    }

    public String getDurationSpread() {
        return durationSpread;
    }

    public void setDurationSpread(String durationSpread) {
        this.durationSpread = durationSpread;
    }

    public String getInstrumentId() {
        return instrumentId;
    }

    public void setInstrumentId(String instrumentId) {
        this.instrumentId = instrumentId;
    }

    public String getIrr() {
        return irr;
    }

    public void setIrr(String irr) {
        this.irr = irr;
    }

    public String getMarketNPV() {
        return marketNPV;
    }

    public void setMarketNPV(String marketNPV) {
        this.marketNPV = marketNPV;
    }

    public String getMd() {
        return md;
    }

    public void setMd(String md) {
        this.md = md;
    }

    public String getRemainTerm() {
        return remainTerm;
    }

    public void setRemainTerm(String remainTerm) {
        this.remainTerm = remainTerm;
    }

    public String getShortDuration() {
        return shortDuration;
    }

    public void setShortDuration(String shortDuration) {
        this.shortDuration = shortDuration;
    }

    public String getShortRemainTerm() {
        return shortRemainTerm;
    }

    public void setShortRemainTerm(String shortRemainTerm) {
        this.shortRemainTerm = shortRemainTerm;
    }

    public String getYtm() {
        return ytm;
    }

    public void setYtm(String ytm) {
        this.ytm = ytm;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
